<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">

<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>index</title>
	<meta name="generator" content="TextMate http://macromates.com/">
	<meta name="author" content="Никита Смирнов">
	<!-- Date: 2010-04-30 -->

</head>
<body>

<?php if ($vk_auth !== false): ?>
	Привет, <?=$vk_auth?>! <br /><a href="/logout.php">logout</a>
<?php else: ?>
<div style="text-align:center"><?=$vk->render_login_form(); ?></div>
<?php endif ?>

</body>
</html>
